#pragma once


class ServerSession;
struct MSG_BASE;

#define Handler_CG_VENDOR_DECL( p )			static VOID On##p( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize )
#define Handler_CG_VENDOR_IMPL( p )			VOID Handler_CG_VENDOR::On##p( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize )

class Handler_CG_VENDOR
{
public:
	Handler_CG_VENDOR(void);
	~Handler_CG_VENDOR(void);

	Handler_CG_VENDOR_DECL(CG_VENDOR_START_SYN);
	Handler_CG_VENDOR_DECL(CG_VENDOR_END_SYN);
	Handler_CG_VENDOR_DECL(CG_VENDOR_MODIFY_REQ_SYN);
	Handler_CG_VENDOR_DECL(CG_VENDOR_MODIFY_CANCEL_SYN);
	Handler_CG_VENDOR_DECL(CG_VENDOR_MODIFY_SYN);
	Handler_CG_VENDOR_DECL(CG_VENDOR_INSERT_SYN);
	Handler_CG_VENDOR_DECL(CG_VENDOR_DELETE_SYN);
	Handler_CG_VENDOR_DECL(CG_VENDOR_BUY_SYN);
	Handler_CG_VENDOR_DECL(CG_VENDOR_VIEW_START_SYN);
	Handler_CG_VENDOR_DECL(CG_VENDOR_VIEW_END_SYN);
};
